/* You can add global styles to this file, and also import other style files */


/** bootstrap **/

@import "~bootstrap/scss/functions";
$blue: rgb(0, 143, 255);
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #e9488b !default;
$red: #ff4255 !default;
$orange: #d48318 !default;
$yellow: rgb(242, 153, 26);
$green: #2abd87 !default;
$teal: #35d1a2 !default;
$cyan: #44b1c2 !default;
$enable-shadows: true;
$enable-gradients: false;
$enable-transitions: false;
$enable-print-styles: false;
$spacer: 1rem;
$font-size-base: 0.8rem;
$font-weight-light: 300;
$font-weight-normal: 400;
$font-weight-bold: 500;
$card-border-radius: 0;
$card-border-width: 0;
$btn-box-shadow: none;
$dropdown-border-radius: 0;
$dropdown-min-width: auto;
$input-btn-focus-box-shadow: none;
$input-focus-box-shadow: none;
$grid-gutter-width: 15px !default;

/** 表格样式 **/

$table-accent-bg: rgb(246, 248, 252);
$table-striped-order: even;
$table-cell-padding: .4rem;
$table-border-width: 0;
@import "~bootstrap/scss/variables";
$dropdown-border-color: rgba($black, 0.01);
$dropdown-link-active-color: $dark;
$dropdown-link-active-bg: $gray-200;
$input-placeholder-color: $gray-300;
$secondary: rgb(153, 153, 153);
$light: rgb(233, 238, 248);
$theme-colors: ("primary": $primary, "secondary": $secondary, "success": $success, "info": $info, "warning": $warning, "danger": $danger, "light": $light, "dark": $dark, "purple": $purple, "pink": $pink);
@import "~bootstrap/scss/mixins";
@import "~bootstrap/scss/root";
@import "~bootstrap/scss/reboot";
@import "~bootstrap/scss/type";
@import "~bootstrap/scss/images";
@import "~bootstrap/scss/code";
@import "~bootstrap/scss/grid";
@import "~bootstrap/scss/tables";
@import "~bootstrap/scss/forms";
@import "~bootstrap/scss/buttons";
// @import "~bootstrap/scss/transitions";
@import "~bootstrap/scss/dropdown";
@import "~bootstrap/scss/button-group";
@import "~bootstrap/scss/input-group";
@import "~bootstrap/scss/custom-forms";
@import "~bootstrap/scss/nav";
// @import "~bootstrap/scss/navbar";
@import "~bootstrap/scss/card";
// @import "~bootstrap/scss/breadcrumb";
// @import "~bootstrap/scss/pagination";
@import "~bootstrap/scss/badge";
// @import "~bootstrap/scss/jumbotron";
@import "~bootstrap/scss/alert";
@import "~bootstrap/scss/progress";
@import "~bootstrap/scss/media";
// @import "~bootstrap/scss/list-group";
@import "~bootstrap/scss/close";
@import "~bootstrap/scss/modal";
// @import "~bootstrap/scss/tooltip";
// @import "~bootstrap/scss/popover";
// @import "~bootstrap/scss/carousel";
@import "~bootstrap/scss/utilities";
@import "~bootstrap/scss/print";
a,
button,
input,
select,
textarea {
    outline: 0 none !important;
    text-decoration: none !important;
    z-index: 0 !important;
    box-shadow: 0px 0px 0px white !important;
}

input:disabled,
textarea:disabled,
button:disabled {
    cursor: not-allowed;
}

.no-select {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

.table thead td {
    padding: 0.7rem;
}

.table td,
.table th {
    vertical-align: middle !important;
}

pre {
    margin-bottom: 0 !important;
}

div,
span {
    outline: 0 none !important;
}

a:link,
a:active,
a:hover,
a:visited {
    text-decoration: none;
}

.dropup .dropdown-menu {
    bottom: auto !important;
}

ts-select .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

.selects-disabled {
    cursor: not-allowed;
    background-color: $gray-200;
}

.card {
    @extend .shadow-sm;
}

.card-header {
    background: $white;
}

.m-btn .btn:not(:first-child) {
    @extend .ml-1;
}

.pointer {
    cursor: pointer;
}

.btn-white,
.btn-outline-white {
    background-color: $white;
    color: $dark;
    border-color: $gray-400;
}

.btn-white:hover,
.btn-outline-white:hover,
.btn-outline-white:active {
    color: $dark;
    background-color: $gray-100;
    border-color: $gray-400;
}

.btn-outline-white:not(:disabled):not(.disabled):active,
.btn-outline-white:not(:disabled):not(.disabled).active,
.show>.btn-outline-white.dropdown-toggle {
    color: $dark;
    border-color: $gray-400;
    background-color: $gray-300;
}

.btn-outline-white.disabled,
.btn-outline-white:disabled {
    color: $gray-500;
}

.btn-white.active,
.btn-outline-white .active {
    background-color: $gray-200;
}

.btn-warning {
    color: white !important;
}


/** btn **/

.btn-icon {
    border-radius: 50%;
    height: 35px;
    width: 35px !important;
    line-height: 35px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    color: $dark;
}

.btn-icon .iconfont {
    font-size: $font-size-base * 1.2;
}

.btn-icon:hover {
    color: white;
}

.btn-icon:active {
    opacity: 0.8;
}

@each $name,
$color in $theme-colors {
    .btn-icon-#{$name} {
        color: $color;
    }
    .btn-icon-#{$name}:hover {
        background-color: $color;
    }
}


/** checkbox **/

.radio-box {
    cursor: pointer;
}

.radio-box.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.radio {
    border: 1px solid $gray-400;
    height: 1.2rem;
    width: 1.2rem;
    padding: $border-width * 2;
}

.radio-check {
    height: 100%;
    width: 100%;
}

@each $name,
$color in $theme-colors {
    .radio-#{$name}.active .radio-check {
        background-color: $color;
    }
}

.radio:not(.active):hover .radio-check {
    background-color: $gray-300;
}

.radio:hover .radio-check {
    opacity: 0.8;
}

.switch {
    cursor: pointer;
}

.switch-bar {
    height: 17px;
    width: 17px;
}

.switch-line {
    height: 19px;
    width: 33px;
    padding: $border-width;
    border-radius: 30px;
    vertical-align: top;
    background-color: $gray-300;
}

.switch.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.switch.active .switch-bar {
    transition: all 0.3s linear;
    margin-left: 14px;
}

.switch .switch-bar {
    transition: all 0.3s linear;
    margin-left: 0px;
}

@each $name,
$color in $theme-colors {
    .switch-#{$name}.active .switch-line {
        background-color: $color;
    }
}


/** pagination **/

.pagination-input {
    width: 70px;
    height: 35px;
    border-radius: 2rem;
    display: inline-block !important;
    margin: 0.25rem;
    flex-shrink: 0;
}

.pagination-item {
    border-radius: 50%;
    height: 35px;
    width: 35px !important;
    line-height: 35px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    margin: 0.25rem;
    flex-shrink: 0;
}

.pagination-item.disabled {
    opacity: 0.1;
    cursor: not-allowed;
}

.pagination-button {
    margin: 0.25rem;
    padding: 0 1rem;
    height: 35px;
    line-height: 35px;
    border-radius: 2rem;
    cursor: pointer;
    flex-shrink: 0;
}

.pagination-dropdown .dropdown-menu {
    border-radius: 0.5rem;
    overflow: hidden;
}

@each $name,
$color in $theme-colors {
    .pagination-tool-#{$name},
    .pagination-button-#{$name} {
        background-color: rgba($color, 0.1);
        color: $color;
    }
    .pagination-item-#{$name} {
        color: $color;
    }
    .pagination-button-#{$name}:hover,
    .pagination-item-#{$name}.active,
    .pagination-item-#{$name}:hover,
    .pagination-tool-#{$name}:hover {
        background-color: $color;
        color: white;
    }
    .pagination-item-#{$name}.active:hover {
        background-color: rgba($color, 0.8);
    }
}


/** tab **/

@each $name,
$color in $theme-colors {
    .nav-link-#{$name}.active {
        border-top: 3px solid $color !important;
        color: $color !important;
    }
    .tabs-#{$name} .tab-bar {
        background-color: $color;
    }
    .tabs-#{$name} .tab:hover {
        color: $color;
        background-color: rgba($color, 0.1);
    }
    .tabs-#{$name} .tab.active {
        color: $color;
    }
}

.tabs {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab {
    padding: 12px 16px;
    cursor: pointer;
    position: relative;
    transition: color ease-in-out 0.3s;
}

.tab-bar {
    position: absolute;
    height: 2px;
    width: 0px;
    bottom: -1px;
    left: 0;
    transition: all ease-in-out 0.3s;
}


/** badge **/

.badge-mark {
    display: inline-flex;
    align-items: center;
}

.badge-mark span {
    transition: all 0.2s;
    width: 0px;
    overflow: hidden;
    opacity: 0;
    display: inline-block;
}

.badge-mark:hover span {
    transition: all 0.2s;
    opacity: 1;
    width: 15px;
    overflow: hidden;
    margin-left: 3px;
}

.badge-circle {
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    line-height: $font-size-base * 1.5;
    height: $font-size-base * 1.5;
    width: $font-size-base * 1.5;
}


/** dot **/

.dot {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
}

.dot-lg {
    width: 1rem;
    height: 1rem;
}

.dot-text {
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    line-height: 1.4rem;
    text-align: center;
    border-radius: 50%;
    color: $white;
}

@each $name,
$color in $theme-colors {
    .dot-#{$name} {
        background-color: $color;
    }
}


/** step **/

.step-list {
    display: flex;
}

.step-vlist {
    display: flex;
    flex-direction: column;
}

.step-item {
    flex-grow: 1;
}

.step-line {
    height: 0.2rem;
    flex-grow: 1;
}

.step-vline {
    width: 0.2rem;
    flex-grow: 1;
}


/** toast **/

.toast {
    width: 18rem;
    z-index: 9999;
    border-width: 0;
    border-left-width: 3px;
}

.toast .close {
    cursor: pointer;
}

.top {
    top: 0;
}

.bottom {
    bottom: 0;
}

.left {
    left: 0;
}

.right {
    right: 0;
}

.toast-hidden {
    opacity: 0;
    transition: opacity 1s;
}


/** table-loader **/

.table-loader {
    background-color: rgba($white, 0.6);
    z-index: 1;
}


/** breadcrumb **/

.breadcrumb {
    line-height: 4;
    color: $gray-600;
}

.breadcrumb a:not(:last-child) {
    color: $primary;
}

.breadcrumb a:not(:last-child):after {
    content: " /";
}

.breadcrumb i {
    margin-right: 0.25rem;
}


/** toolbar **/

.toolbar {
    @extend .pr-3;
    @extend .pl-3;
    @extend .pb-3;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05);
    background-color: $white;
}


/** hover **/

@each $name,
$color in $theme-colors {
    .bg-#{$name}-muted {
        background-color: rgba($color, 0.1);
    }
    .bg-#{$name}-hover:hover {
        background-color: rgba($color, 0.1);
        transition: background-color ease-in-out .2s;
    }
    .bg-#{$name}-hover:active {
        background-color: rgba($color, 0.4);
    }
    .text-#{$name}-hover {
        color: $gray-600;
    }
    .text-#{$name}-hover:hover {
        color: $color;
        transition: color ease-in-out .3s;
    }
}


/** iconfont **/

@import "assets/iconfont/iconfont.css";
.iconfont {
    font-size: inherit;
}

.iconfont-rotate {
    animation: rotate 0.5s infinite linear;
    display: inline-block;
    text-align: center;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}


/** propper **/

.link-anchor {
    position: relative;
    width: 0;
    font-size: .8em;
    opacity: 0;
    transition: opacity .2s ease-in-out;
}

.anchor-wrapper {
    border: none;
}

.anchor-wrapper:hover .link-anchor {
    opacity: 1;
}

section h1[id]:focus,
section h2[id]:focus,
section h3[id]:focus,
section h4[id]:focus,
section h5[id]:focus {
    outline: 0;
}

p.thin {
    font-weight: 100;
    margin: 0;
    line-height: 1.2em;
}

p.bold {
    font-weight: 900;
    margin: 0;
    margin-top: -5px;
}

.rel {
    width: 30%;
    margin: 0 auto;
    position: relative;
    text-align: center;
    padding: 20px;
    border-style: dotted;
    border-color: white;
    border-width: medium;
}

.popper,
.tooltip {
    position: absolute;
    background: rgba($dark, 0.8);
    color: $white;
    border-radius: 3px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    width: auto;
    font-size: .8rem;
    padding: .5em 1em;
    text-align: center;
}

.popper .popper__arrow,
.tooltip .tooltip-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    margin: 5px;
}

.tooltip .tooltip-arrow,
.popper .popper__arrow {
    border-color: rgba($dark, 0.8);
}

.popper[x-placement^="top"],
.tooltip[x-placement^="top"] {
    margin-bottom: 5px;
}

.popper[x-placement^="top"] .popper__arrow,
.tooltip[x-placement^="top"] .tooltip-arrow {
    border-width: 5px 5px 0 5px;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    bottom: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
}

.popper[x-placement^="bottom"],
.tooltip[x-placement^="bottom"] {
    margin-top: 5px;
}

.tooltip[x-placement^="bottom"] .tooltip-arrow,
.popper[x-placement^="bottom"] .popper__arrow {
    border-width: 0 5px 5px 5px;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    top: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
}

.tooltip[x-placement^="right"],
.popper[x-placement^="right"] {
    margin-left: 5px;
}

.popper[x-placement^="right"] .popper__arrow,
.tooltip[x-placement^="right"] .tooltip-arrow {
    border-width: 5px 5px 5px 0;
    border-left-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
    left: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
}

.popper[x-placement^="left"],
.tooltip[x-placement^="left"] {
    margin-right: 5px;
}

.popper[x-placement^="left"] .popper__arrow,
.tooltip[x-placement^="left"] .tooltip-arrow {
    border-width: 5px 0 5px 5px;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    right: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
}


/** animate.css **/

@import "~animate.css/source/_base.css";
@import "~animate.css/source/sliding_entrances/slideInUp.css";
@import "~animate.css/source/zooming_entrances/zoomIn.css";
@import "~animate.css/source/attention_seekers/flash.css";
.animated {
    animation-duration: 0.4s;
}


/** three-dots **/

$dotColor: $primary;
@import "assets/three-dots/_variables";
@import "assets/three-dots/mixins";
@import "assets/three-dots/dot-windmill";
.dot-animate {
    @extend .dot-windmill;
}


/** scorll **/

.os-content {
    padding-top: 0px !important;
}


/** radius **/

.b-t-l-radius {
    border-top-left-radius: 0px !important;
}

.b-b-l-radius {
    border-bottom-left-radius: 0px !important;
}

.border-l-0 {
    border-left: none !important;
}

.border-r-0 {
    border-right: none !important;
}

.border-t-0 {
    border-top: none !important;
}

.border-b-0 {
    border-bottom: none !important;
}

.radius-0 {
    border-radius: 0 !important;
}

.shadow-0 {
    box-shadow: none !important;
}


/** bg-color **/

.bg {
    background-color: transparent !important;
}

.align-c {
    align-items: center !important;
}

.flex-w-0 {
    flex-wrap: nowrap !important;
}

.head tbody tr:nth-of-type(odd) {
    background-color: #6baff8 !important;
    color: #fff !important;
}

.bg-detail-active {
    color: #fff !important;
    background: rgb(86, 88, 88) !important;
}

.table-striped td {
    min-width: 80px;
}

.dropdown-item .rounded-circle {
    display: none !important;
}